@import "../../../common";

page {
  background: #f8f8f8;
}

.subject-two-swiper {
  height: 562rpx;
}

.subject-container {
  @include container;

  .subject-info {
    @include block;

    .info {
      @include flex-space-between;

      .name {
        @include fontStyle(32, 32, #000000, 400);
        display: flex;
        align-items: center;
        text {
          margin-right: 16rpx;
        }
      }

      .time {
        @include fontStyle(28, 28, #999999, 400);
      }
    }

    .address {
      @include fontStyle(28, 28, #999999, 500);
      @include flex-space-between;
      margin-top: 24rpx;

      .icon{
        width: 120rpx;
        height: 40rpx;
        border-radius: 20rpx;
        background-color: var(--color-theme);
        color: #ffffff;
        font-size: 24rpx;
        line-height: 40rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        image {
          @include size(24, 24, 0%);
          margin: 0 8rpx 0 0;
        }
      }
      
    }

    .traffic {
      margin-top: 27rpx;

      .method {
        @include flex-space-between;

        &.bus {
          margin-top: 17rpx;

          .left {
          }

          .right {
            padding-left: 36rpx;
          }
        }

        &.station {
          margin-top: 17rpx;

          .left {
            padding-left: 36rpx;
          }
        }

        .left {
          display: flex;
          width: calc(100% - 200rpx);

          image {
            @include size(28, 28);
            margin-right: 8rpx;
            margin-top: 7rpx;
            flex: 1;
          }

          text {
            width: calc(100% - 36rpx);
            @include fontStyle(28, 42, #999999, 400);
          }
        }

        .right {
          width: 200rpx;
          @include fontStyle(28, 28, #999999, 500);
          text-align: right;
        }
      }
    }
  }

  .site-info {
    @include container;
    @include block;
    color: #333333;
  }

  .mating {
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 24rpx;
    padding: 32rpx 24rpx;
    margin-top: 24rpx;

    .title {
      @include fontStyle(32, 32, #000000, 500);
      text-align: left;
    }

    .mating-box {
      box-sizing: border-box;
      @include flex;
      flex-wrap: wrap;
    }

    .mating-item {
      text-align: center;
      margin: 32rpx 0 0 0;
      width: 25%;

      image {
        @include size(56, 56);
        margin: auto;
      }

      text {
        display: block;
        @include fontStyle(24, 24, #000000, 400);
        text-align: center;
        margin: 16rpx 0 0 0;
      }
    }
  }
}
